#ifndef __ONEWIRE_H__
#define __ONEWIRE_H__

#include <STC15F2K60S2.H>


unsigned char OneWire_Init(void);			//初始化

void OneWire_SendBit(unsigned char Bit);	//发送一位

unsigned char OneWire_ReceiveBit(void);		//接收一位

void OneWire_SendByte(unsigned char Byte);	//发送一个字节

unsigned char OneWire_ReceiveByte(void);	//接收一个字节



#endif
